/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: LiYansheng
 * @Date: 2022-05-12 17:07:41
 * @LastEditors: CoderXZ
 * @LastEditTime: 2022-05-13 00:53:23
 */
import request from '@/utils/request'

export function updateAvatar(imgUrl){
    return request({
        url:'/system/updateAvatar',
        method:'post',
        data:{
            "avatarUrl":imgUrl
        }
    })
}
updatePass

export function updatePass(password){
    return request({
        url:'/system/updatePass',
        method:'post',
        data:{
            "oldPassword":password.oldPass,
            "newPassword":password.newPass
        }
    })
}